---
import ArticleMockList from "@components/common/article/ArticleMockList.astro";
import CommonMockPage from "@components/common/page/CommonMockPage.astro";
---

<th:block  th:with="data=${@articleTag.pageArticles(themeName,1,100)},page='',pageId='hot'" > 
    <th:block th:if="${#lists.size(data.rows) > 0}"> 
    <ArticleMockList/>
    <CommonMockPage/>
    </th:block>
    <th:block th:if="${#lists.size(data.rows) <= 0}"> 
      <div class="article-list-empty">暂无数据</div>
    </th:block>
</th:block>

